﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace UIapp.Plantillas
{
    public partial class frmLoading : Telerik.WinControls.UI.ShapedForm
    {
        private bool _close = false;
        public frmLoading()
        {
            InitializeComponent();
        }

        private void frmLoading_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (!this._close)
            {
                e.Cancel = true;
            }
        }

        public void CloseFrm()
        {
            this._close = true;
            this.Close();
        }
    }
}
